package com.peanut.baby.mvp.reg;

import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

/**
 * Created by anonymouslystudio on 2017/7/5.
 */

public class RegistContract {
    interface Presenter extends BasePresenter {
        void getVcode(String mobile);
        void submitRegistForm(String mobile, String vcode, String password);

    }

    interface View extends BaseView {
            void onRegistSuccess();
        void onRegistFailed(String failReason);
        void startCountDown();
        void onCountDown(int current);
        void onCountComplete();
    }
}
